home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-08-22 | 1.3 KB | 36 lines | [TEXT/GEOL] |
- Item 4888976 16-Aug-89 11:37
-
- From: MOOF Rollin, Keith A,APL
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Re: Resident code
-
- Dav Holle,
-
- EqualBlocks is marked in the source code as being in the 'Main' segment. This
- segment is ALWAYS resident, regardless of whatever else goes on. Well, you
- could kick it out of memory if you wanted, but believe me now and hear me
- later...you don't want to...
-
- There are also some code segments that are managed by MacApp to be always
- resident. These are listed in your and MacApp's 'seg!' resources. If you would
- like to see the list of routines in these segments, link your program with the
- -map option. It'll dump your a list of some several thousand routines and what
- segments they are in. Happy browsing...
-
- If you are ever concerned about wether or not a certain routine is permanently
- resident, or would like to temporarily make a routine resident that isn't
- normally, then you could call SetResidentSegment yourself. MacApp does this
- itself if you are printing from the Finder (from TApplication.Run):
-
- findSeg := GetSegNumber(@FinderSegProc);
- IF gFinderPrinting THEN
- SetResidentSegment(findSeg, TRUE);
-
- Hope this helps,
-
- - Keith Rollin
- - Apple Developer Technical Support
-
-